﻿@model IEnumerable<CSCSN.ViewModels.TakeAndTakeType.TaskViewModel>
@using  CSCSN.ViewModels.TakeAndTakeType
<style>
    .TaskList {
        width: 230px;
        border: solid 1px rgb(200,200,200);
        float: left;
    }

    .TaskLis_TR {
        font-size: 12PX;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
    }
</style>
<table class="table table-striped TaskList">
    <tbody class="TaskLis_TR">
        <tr>
            <th>
                诚信分高分榜
            </th>
        </tr>
        @foreach (var item in ViewBag.Names as List<TaskViewModel>)
        {
            <tr class="TaskLis_TR">
                <td>
                    <a href="@Url.Action("Details","Home",new { id=item.id})">@Html.DisplayFor(modelItem => item.Name)</a>
                </td>
            </tr>
        }
        <tr>
            <th>
                @Html.ActionLink("查看更多", "Index", "ApplicationTask",new { typeName = "诚信分" })
            </th>
        </tr>
    </tbody>
</table>